package com.zframeworks.core.bean;

import com.zframeworks.core.util.DateUtil;
import org.springframework.web.socket.WebSocketSession;

public class User {
    private String userid;

    private String name;

    private WebSocketSession webSocketSession;

    private String create_time;

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public WebSocketSession getWebSocketSession() {
        return webSocketSession;
    }

    public void setWebSocketSession(WebSocketSession webSocketSession) {
        this.webSocketSession = webSocketSession;
        this.create_time = DateUtil.getDateTime();
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {

    }
}
